package com.shqcjd.yunweiyanoperator.ui.activity.staff;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.shqcjd.yunweiyanoperator.R;
import com.shqcjd.yunweiyanoperator.ui.base.BaseActivity;
import com.shqcjd.yunweiyanoperator.ui.base.BasePresenter;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 发送现场视频
 */
public class SendVideoActivity extends BaseActivity {


    @BindView(R.id.btn_finish)
    ImageView btnFinish;
    @BindView(R.id.tv_title)
    TextView tvTitle;
    @BindView(R.id.rl_send_video)
    RelativeLayout rlSendVideo;
    @BindView(R.id.rl_record)
    RelativeLayout rlRecord;
    @BindView(R.id.tv_include_add)
    TextView tvIncludeAdd;
    @BindView(R.id.rl_include)
    RelativeLayout rlInclude;

    @Override
    protected BasePresenter createPresenter() {
        return null;
    }

    @Override
    protected int provideContentViewId() {
        return R.layout.activity_send_video;
    }


    @Override
    public void initView() {
        tvTitle.setText("发送现场视频");

    }


    @OnClick({R.id.btn_finish, R.id.rl_send_video, R.id.rl_record})
    public void onViewClicked(View view) {
        Intent intent;
        switch (view.getId()) {
            case R.id.btn_finish:
                finish();
                break;
            case R.id.rl_send_video://发送视频
                intent = new Intent(this, VideotapeListActivity.class);
                startActivity(intent);
                break;
            case R.id.rl_record://发送记录
                intent = new Intent(this, SendRecordActivity.class);
                startActivity(intent);
                break;
        }
    }
}
